const webpack = require('./webpack3');
const webpackConfig = require('./webpack.config');
const compier = webpack(webpackConfig);

compier.run((err, stats) => {
  if (err) {
    console.log(err);
  }
  console.log(stats.toString({
    colors: true,
    modules: false,
    children: false,
    chunks: false,
    chunkModules: false
  }));
});